package com.demo.day401;

public class StudentManagement {
    public static void main(String[] args) {
        study study = new study() {

        };


        study.name = "小明";
        study.age = 20;
        study.classNum = "2020083030249";
        study.gender = "男";

        study.study("java",2);
        study.partTimejob(3);

        int money =  study.partTimejob(3);
        System.out.println("赚了"+money);
    }
}
